package calendarAlarmRouter

import (
	calendarAlarmInformationController "GoLangTest/controller/calendarAlarmController"
	"github.com/gin-gonic/gin"
)

func Routers(router *gin.Engine) {
	calendarAlarmInformationGroup := router.Group("/calendarAlarmInformation")
	calendarAlarmInformationGroup.Use()
	{
		calendarAlarmInformationGroup.POST("/add", calendarAlarmInformationController.Add)                                    //添加
		calendarAlarmInformationGroup.GET("/getListByCreateUserId", calendarAlarmInformationController.GetListByCreateUserId) //查询
		calendarAlarmInformationGroup.PUT("/update", calendarAlarmInformationController.Update)
		calendarAlarmInformationGroup.DELETE("/deleteById", calendarAlarmInformationController.DeleteById)
		calendarAlarmInformationGroup.GET("/webSocketAlarm", calendarAlarmInformationController.WebSocketAlarm)
	}
}
